package top.songxs.gmall.order;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.openfeign.EnableFeignClients;
import top.songxs.gmall.common.anno.EnableFeignClientInterceptor;
import top.songxs.gmall.common.anno.EnableGlobalExceptionHandler;
import top.songxs.gmall.rabbit.anno.EnableRabbit;

@SpringBootApplication
@MapperScan("top.songxs.gmall.order.mapper")
@EnableFeignClientInterceptor
@EnableFeignClients(basePackages = {"top.songxs.gmall.feign"})
@EnableGlobalExceptionHandler
@EnableRabbit
public class OrderApplication {
    public static void main(String[] args) {
        SpringApplication.run(OrderApplication.class,args);
    }
}
